home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / program / slix0987.zip / GMUTILS.ZIP / ADEMO.BAT next >
DOS Batch File  |  1995-06-19  |  2KB  |  79 lines

  1. @REM  ADEMO - ANIME Demonstration batch by Petri Hassinen 19th June, 1995
  2.  
  3. @ECHO OFF
  4. if (%1)==() GOTO howto
  5.  
  6. :begin
  7. IF (%1)==()  GOTO end
  8. IF (%1)==(1) GOTO door
  9. IF (%1)==(2) GOTO doorb
  10. IF (%1)==(3) GOTO edoor
  11. IF (%1)==(4) GOTO edoorb
  12. IF (%1)==(5) GOTO exp
  13. IF (%1)==(6) GOTO expb
  14. IF (%1)==(7) GOTO soldier
  15. goto error
  16.  
  17. :door
  18. ANIME door.lbm /80 /16 /10 /950
  19. GOTO again
  20.  
  21. :doorb
  22. ANIME door.lbm scene.lbm /0 /80 /16 /10 /930 /110 /128
  23. GOTO again
  24.  
  25. :edoor
  26. ANIME edoor.lbm /80 /16 /18 /930
  27. GOTO again
  28.  
  29. :edoorb
  30. ANIME edoor.lbm scene.lbm /0 /80 /16 /18 /930 /110 /32
  31. GOTO again
  32.  
  33. :exp
  34. ANIME explode.lbm /57 /46 /5 /900 
  35. GOTO again
  36.  
  37. :expb
  38. ANIME explode.lbm scene.lbm /0 /57 /46 /5 /860 /120 /64
  39. GOTO again
  40.  
  41. :soldier
  42. ANIME soldier.lbm /30 /45 /15 /940
  43. GOTO again
  44.  
  45. :again
  46. SHIFT
  47. GOTO begin
  48.  
  49. :howto
  50. ECHO Usage : ADEMO  number(s)
  51. ECHO.
  52. ECHO Number  Sequence
  53. ECHO    1    A regular door opening and closing.                     (F3)
  54. ECHO    2    A regular door opening and closing on a background.     (F3)
  55. ECHO    3    An electric door operating.                             (F2)
  56. ECHO    4    An electric door operating on a background.             (F2)
  57. ECHO    5    An explosion in progress.                               (F1)
  58. ECHO    6    An explosion in progress on a background.               (F1)
  59. ECHO    7    An armed soldier walking.                               (F2)
  60. ECHO.
  61. ECHO Each number corresponds to one sequence. You can specify several numbers 
  62. ECHO for ADEMO at a time. They are processed from left to right.
  63. ECHO.
  64. ECHO After you have entered the actual ANIME session, press keys from F1 to F4
  65. ECHO to play the sequence that fits the particular animation (recommended number
  66. ECHO in parentheses).
  67.  
  68.  
  69.  
  70. GOTO end
  71.  
  72. :error
  73. ECHO ADEMO: Unknown sequence number!
  74.  
  75. :end
  76. ECHO.
  77.  
  78. REM End of ADEMO.BAT
  79.